﻿@model File_Manager.Models.Problemario
@{
    ViewBag.Title = "Reporte Express";
}

<h2>Reporte Express</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<fieldset>
    <legend>Datos Problemario</legend>
        <table width="100%">
            <tr>
                <td width="33%">
                    <div class="display-label"><b>Etapa</b></div>
                    <div class="display-field">
                        @Html.DisplayFor(model => model.nEtapa.name)
                    </div>
                </td>
                <td width="33%">
                    <div class="display-label"><b>Grupo</b></div>
                    <div class="display-field">
                        @if (Model.idRol=="Guest_C")
                        {
                            <div style="display:inline;"> Ciencias de la Salud </div>
                        }
                        else if (Model.idRol=="Guest_H")
                        {
                            <div style="display:inline;"> Humanidades y Sociales </div>
                        }
                        else if (Model.idRol == "Guest_I")
                        {
                            <div style="display:inline;"> Ingeniería y Ciencias Básicas </div>
                        }
                        else if (Model.idRol == "ALL")
                        {
                            <div style="display:inline;"> Grupo único </div>
                        }
                    </div>
                </td>
                <td width="33%">
                    <div class="display-label"><b>Jornada</b></div>
                    <div class="display-field">
                        @Html.DisplayFor(model => model.idJornada)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="display-label"><b>Nombre</b></div>
                    <div class="display-field">
                        @Html.Display("name")
                    </div>
                </td>
                <td>
                    <div class="display-label"><b>Apellido</b></div>
                    <div class="display-field">
                        @Html.Display("last_name")
                    </div>
                </td>
                <td>
                    <div class="display-label"><b>Fecha Límite</b></div>
                    <div class="display-field">
                        @Html.DisplayFor(model => model.fecha_exp)
                    </div>
                </td>
            </tr>
        </table>
</fieldset>

<table width="100%" class="noBorder">
    <tr>
        <td width="50%">
            <div class="display-field">
                <b>@Html.DisplayFor(model => model.nMateria_1.name)</b>
            </div><br />
            <table width="75%">
                <tr>
                    <th>
                        Correctas
                    </th>
                    <th>
                        Incorrectas
                    </th>
                     <th>
                        Sin Contestar
                    </th>
                </tr>
                <tr>
                    <td  width="25%">
                        @ViewBag.M1_C
                    </td>
                    <td  width="25%">
                        @ViewBag.M1_I
                    </td>
                    <td  width="25%">
                        @ViewBag.M1_SC
                    </td>
                </tr>
            </table><br />

            <div class="display-field">
                <b>@Html.DisplayFor(model => model.nMateria_2.name)</b>
            </div><br />
            <table width="75%">
                <tr>
                    <th>
                        Correctas
                    </th>
                    <th>
                        Incorrectas
                    </th>
                     <th>
                        Sin Contestar
                    </th>
                </tr>
                <tr>
                    <td width="25%">
                        @ViewBag.M2_C
                    </td>
                    <td width="25%">
                        @ViewBag.M2_I
                    </td>
                    <td width="25%">
                        @ViewBag.M2_SC
                    </td>
                </tr>
            </table><br />

            <div class="display-field">
                <b>@Html.DisplayFor(model => model.nMateria_3.name)</b>
            </div><br />
            <table width="75%">
                <tr>
                    <th>
                        Correctas
                    </th>
                    <th>
                        Incorrectas
                    </th>
                     <th>
                        Sin Contestar
                    </th>
                </tr>
                <tr>
                    <td width="25%">
                        @ViewBag.M3_C
                    </td>
                    <td width="25%">
                        @ViewBag.M3_I
                    </td>
                    <td width="25%">
                        @ViewBag.M3_SC
                    </td>
                </tr>
            </table><br />
        </td>
        <td width="50%" style="vertical-align:top"><br /><br />
            <div class="error" align="center"><br /><br />
                <b>Para Mayor Información Ingresar en el <a href="/Problemario/ReporteGeneralGuest"> Reporte General.</a></b><br /><br />
                <img alt="Robot CYT-1000" src="../../Content/images/Cyt-1000.jpg" width="50%" height="50%"/>
            </div>
        </td>
    </tr>
</table>


<p>
    @Html.ActionLink("Ir Atras", "Index", "Home")
</p>
